package com.ruoyi.sales.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车间信息对象 zc_workshop
 * 
 * @author woo
 * @date 2024-03-26
 */
public class ZcWorkshop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车间信息表id */
    private Long workshopId;

    /** 车间名称 */
    @Excel(name = "车间名称")
    private String name;

    /** 车间类型 */
    @Excel(name = "车间类型")
    private String type;

    /** 车间启用状态 */
    @Excel(name = "车间启用状态")
    private String status;

    /** 车间负责人 */
    @Excel(name = "车间负责人")
    private String people;

    /** 车间效率 */
    @Excel(name = "车间效率")
    private String efficiency;

    /** 逻辑删除 */
    private Integer del;

    public void setWorkshopId(Long workshopId) 
    {
        this.workshopId = workshopId;
    }

    public Long getWorkshopId() 
    {
        return workshopId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setPeople(String people) 
    {
        this.people = people;
    }

    public String getPeople() 
    {
        return people;
    }
    public void setEfficiency(String efficiency) 
    {
        this.efficiency = efficiency;
    }

    public String getEfficiency() 
    {
        return efficiency;
    }
    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workshopId", getWorkshopId())
            .append("name", getName())
            .append("type", getType())
            .append("status", getStatus())
            .append("people", getPeople())
            .append("efficiency", getEfficiency())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("del", getDel())
            .toString();
    }
}
